package cn.lanqiao.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.lanqiao.entity.Multi_error;
import cn.lanqiao.mapper.Judge_errorMapper;
import cn.lanqiao.mapper.Multi_errorMapper;
import cn.lanqiao.service.Multi_errorService;
@Service
public class Multi_errorServiceImpl implements Multi_errorService {
	 @Autowired
	    private Multi_errorMapper multi_errorMapper;
	@Override
	public List<Multi_error> findById(Integer studentId) {
		
		return multi_errorMapper.findById(studentId);
	}
	@Override
	public int deleteById(Integer questionId) {
		return multi_errorMapper.deleteById(questionId);
	}
	@Override
	public int add(Multi_error multi) {
		return multi_errorMapper.add(multi);
	}
   
}
